
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-classIcon"></i>
                    <div class="name">房产</div>
                    <div class="fontclass">.icon-classIcon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-customer-service"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-customer-service</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-woman"></i>
                    <div class="name">女</div>
                    <div class="fontclass">.icon-woman</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-uparrow"></i>
                    <div class="name">上箭头</div>
                    <div class="fontclass">.icon-uparrow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-complaint"></i>
                    <div class="name">投诉</div>
                    <div class="fontclass">.icon-complaint</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-praise"></i>
                    <div class="name">好评</div>
                    <div class="fontclass">.icon-praise</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circle"></i>
                    <div class="name">圈</div>
                    <div class="fontclass">.icon-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-camera"></i>
                    <div class="name">照相机</div>
                    <div class="fontclass">.icon-camera</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-success1"></i>
                    <div class="name">成功</div>
                    <div class="fontclass">.icon-success1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-many-people"></i>
                    <div class="name">多人</div>
                    <div class="fontclass">.icon-many-people</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-class"></i>
                    <div class="name">班级</div>
                    <div class="fontclass">.icon-class</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sleep"></i>
                    <div class="name">睡觉</div>
                    <div class="fontclass">.icon-sleep</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star-select"></i>
                    <div class="name">星级</div>
                    <div class="fontclass">.icon-star-select</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-parent-personal"></i>
                    <div class="name">个人</div>
                    <div class="fontclass">.icon-parent-personal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-good-scores"></i>
                    <div class="name">好评</div>
                    <div class="fontclass">.icon-good-scores</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-caveat"></i>
                    <div class="name">警惕</div>
                    <div class="fontclass">.icon-caveat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-angle-right"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-angle-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-feedback-option"></i>
                    <div class="name">评论</div>
                    <div class="fontclass">.icon-feedback-option</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cry"></i>
                    <div class="name">哭泣</div>
                    <div class="fontclass">.icon-cry</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-telphone"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-telphone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-video"></i>
                    <div class="name">视频</div>
                    <div class="fontclass">.icon-video</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comment"></i>
                    <div class="name">评论</div>
                    <div class="fontclass">.icon-comment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lunch"></i>
                    <div class="name">午餐</div>
                    <div class="fontclass">.icon-lunch</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-aixin"></i>
                    <div class="name">爱心</div>
                    <div class="fontclass">.icon-aixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-praise-alt"></i>
                    <div class="name">爱心</div>
                    <div class="fontclass">.icon-praise-alt</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-deletePhoto"></i>
                    <div class="name">删  除</div>
                    <div class="fontclass">.icon-deletePhoto</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-reviewing"></i>
                    <div class="name">时钟</div>
                    <div class="fontclass">.icon-reviewing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-renewal-fee"></i>
                    <div class="name">费用</div>
                    <div class="fontclass">.icon-renewal-fee</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-select-hook"></i>
                    <div class="name">勾</div>
                    <div class="fontclass">.icon-select-hook</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-error"></i>
                    <div class="name">错</div>
                    <div class="fontclass">.icon-error</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-my-score"></i>
                    <div class="name">分数线</div>
                    <div class="fontclass">.icon-my-score</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice"></i>
                    <div class="name">须知(1)</div>
                    <div class="fontclass">.icon-notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-course"></i>
                    <div class="name">课程方向</div>
                    <div class="fontclass">.icon-course</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-headquarters-phone"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-headquarters-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-summary"></i>
                    <div class="name">日报</div>
                    <div class="fontclass">.icon-summary</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-courseInfo"></i>
                    <div class="name">课程</div>
                    <div class="fontclass">.icon-courseInfo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-morning-check"></i>
                    <div class="name">晨检</div>
                    <div class="fontclass">.icon-morning-check</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-success2"></i>
                    <div class="name">成功</div>
                    <div class="fontclass">.icon-success2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top"></i>
                    <div class="name">上</div>
                    <div class="fontclass">.icon-top</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinggao"></i>
                    <div class="name">警告</div>
                    <div class="fontclass">.icon-jinggao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-men"></i>
                    <div class="name">男</div>
                    <div class="fontclass">.icon-men</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-reservation"></i>
                    <div class="name">笑脸</div>
                    <div class="fontclass">.icon-reservation</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star"></i>
                    <div class="name">星级</div>
                    <div class="fontclass">.icon-star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chenggong1"></i>
                    <div class="name">成功</div>
                    <div class="fontclass">.icon-chenggong1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-geren1"></i>
                    <div class="name">个人</div>
                    <div class="fontclass">.icon-geren1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-new-renewals"></i>
                    <div class="name">费用</div>
                    <div class="fontclass">.icon-new-renewals</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-addition1"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-addition1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-student-list"></i>
                    <div class="name">名单</div>
                    <div class="fontclass">.icon-student-list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-invite"></i>
                    <div class="name">邀请亲友</div>
                    <div class="fontclass">.icon-invite</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-happy"></i>
                    <div class="name">开心</div>
                    <div class="fontclass">.icon-happy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-unhappy"></i>
                    <div class="name">不开心</div>
                    <div class="fontclass">.icon-unhappy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-super-happy"></i>
                    <div class="name">超开心</div>
                    <div class="fontclass">.icon-super-happy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-delete"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-delete</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-option-feedback"></i>
                    <div class="name">意见反馈</div>
                    <div class="fontclass">.icon-option-feedback</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daishufuwu"></i>
                    <div class="name">袋鼠服务</div>
                    <div class="fontclass">.icon-daishufuwu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-history-info"></i>
                    <div class="name">历史消息</div>
                    <div class="fontclass">.icon-history-info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-customize"></i>
                    <div class="name">自定义消息</div>
                    <div class="fontclass">.icon-customize</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dayCheck"></i>
                    <div class="name">晨检</div>
                    <div class="fontclass">.icon-dayCheck</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-new-summary"></i>
                    <div class="name">日总结</div>
                    <div class="fontclass">.icon-new-summary</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-new-history"></i>
                    <div class="name">历史消息</div>
                    <div class="fontclass">.icon-new-history</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-interactive"></i>
                    <div class="name">互动率</div>
                    <div class="fontclass">.icon-interactive</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-less"></i>
                    <div class="name">较少</div>
                    <div class="fontclass">.icon-less</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-normal"></i>
                    <div class="name">正常</div>
                    <div class="fontclass">.icon-normal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_summary"></i>
                    <div class="name">日总结</div>
                    <div class="fontclass">.icon-baby_summary</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_sleep"></i>
                    <div class="name">午睡</div>
                    <div class="fontclass">.icon-baby_sleep</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_check"></i>
                    <div class="name">晨检</div>
                    <div class="fontclass">.icon-baby_check</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_astriction"></i>
                    <div class="name">便秘</div>
                    <div class="fontclass">.icon-baby_astriction</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_diarrhea"></i>
                    <div class="name">拉肚子</div>
                    <div class="fontclass">.icon-baby_diarrhea</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_teach"></i>
                    <div class="name">午睡</div>
                    <div class="fontclass">.icon-baby_teach</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baby_lunch"></i>
                    <div class="name">午饭</div>
                    <div class="fontclass">.icon-baby_lunch</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
